package com.example.test19_1;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

public class MyBroadcastReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent){
        Toast.makeText(context,"收到来自MyBroadcastReceiver的广播",Toast.LENGTH_SHORT).show();
    }
}
